package hzau.constants;

public class ESconstants {
    public final static String SELECTION_CREATE="{\n" +
            "  \"mappings\": {\n" +
            "    \"properties\": {\n" +
            "      \"id\":{\n" +
            "        \"type\": \"keyword\"\n" +
            "      },\n" +
            "      \"description\":{\n" +
            "        \"type\":\"text\",\n" +
            "        \"analyzer\": \"ik_max_word\"\n" +
            "      },\n" +
            "      \"a\":{\n" +
            "        \"type\":\"text\",\n" +
            "       \"index\": false\n" +
            "      },\n" +
            "      \"b\":{\n" +
            "        \"type\":\"text\",\n" +
            "       \"index\": false\n" +
            "      },\n" +
            "      \"c\":{\n" +
            "        \"type\":\"text\",\n" +
            "       \"index\": false\n" +
            "      },\n" +
            "      \"d\":{\n" +
            "        \"type\":\"text\",\n" +
            "       \"index\": false\n" +
            "      },\n" +
            "      \"paperId\":{\n" +
            "        \"type\":\"text\",\n" +
            "       \"index\": false\n" +
            "      },\n" +
            "      \"questionId\":{\n" +
            "        \"type\":\"text\",\n" +
            "       \"index\": false\n" +
            "      }\n" +
            "    }\n" +
            "  }\n" +
            "}";
    public final static String QUESTION_CREATE="{\n" +
            "  \"mappings\": {\n" +
            "    \"properties\": {\n" +
            "      \"id\":{\n" +
            "        \"type\": \"keyword\"\n" +
            "      },\n" +
            "      \"description\":{\n" +
            "        \"type\":\"text\",\n" +
            "        \"analyzer\": \"ik_max_word\"\n" +
            "      },\n" +
            "      \"type\": {\n" +
            "        \"type\": \"keyword\"\n" +
            "      },\n" +
            "      \"paperId\":{\n" +
            "        \"type\":\"text\",\n" +
            "       \"index\": false\n" +
            "      },\n" +
            "      \"questionId\":{\n" +
            "        \"type\":\"text\",\n" +
            "       \"index\": false\n" +
            "      }\n" +
            "    }\n" +
            "  }\n" +
            "}";
    public final static  String WORD_DESCRIPTION="{\n" +
            "  \"mappings\": {\n" +
            "    \"properties\": {\n" +
            "      \"id\":{\n" +
            "        \"type\":\"keyword\",\n" +
            "      },\n" +
            "      \"description\":{\n" +
            "        \"type\":\"text\",\n" +
            "        \"analyzer\": \"ik_max_word\"\n" +
            "      }\n" +
            "      \n" +
            "    }\n" +
            "  }\n" +
            "}";
}
